package com.cszjzx.member.po;

public class Master {
	private int id;
	private String masterid;
	private String password;
	private boolean issuper;
	private int module;
	private int departmentid;   //管理员所属院系   0代表超级管理员  
	
	/**
	 * 构造函数
	 */
	public Master() {
		
	}
	//查询管理员的时候使用
	public Master(int id, String masterid, String password, boolean issuper,int module) {
		this.id = id;
		this.masterid = masterid;
		this.password = password;
		this.issuper = issuper;
		this.module = module;
	}
	//添加管理员的时候使用
	public Master( String masterid, String password, boolean issuper, int module) {
		this.masterid = masterid;
		this.password = password;
		this.issuper = issuper;
		this.module = module;
	}
	
	public boolean isIssuper() {
		return issuper;
	}
	public int getDepartmentid() {
		return departmentid;
	}
	public void setDepartmentid(int departmentid) {
		this.departmentid = departmentid;
	}
	public void setIssuper(boolean issuper) {
		this.issuper = issuper;
	}
	public int getModule() {
		return module;
	}
	public void setModule(int module) {
		this.module = module;
	}
	
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	
	public String getMasterid() {
		return masterid;
	}
	public void setMasterid(String masterid) {
		this.masterid = masterid;
	}
	
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	@Override
	public String toString() {
		return "Master [id=" + id + ", masterid=" + masterid + ", password=" + password + ", issuper=" + issuper
				+ ", module=" + module + ", departmentid=" + departmentid + "]";
	}
}
